
<div id="sidebar_box">
	<div id="title_box">
		<div class="label_sidebar_box"><%=  t('sidebar.newest_uploads') %></div>
	</div>
	<ul class="newest_uploads">
		<% if @latest_created_documents.each do |document| %>
			<li class="newest_uploads_document" id="newest_uploads_document_<%= document.id %>">
                            
				<div class="sidebar_tooltip_box" id="sidebar_tooltip_box_Id_<%= document.id %>">
					<div class="sidebar_tooltip_box_spitze"></div>
					<%= render 'documents/document_tooltip', document: document %>
				</div>
				<%= image_tag(document.files.first.icon, :alt => "rss feed", class: "icon") %>
				<%= link_to truncate(document.name, length: 16), document, class: "doc_name"  %>
			</li>
		<% end.empty? %>
			<%= t('content.list.no_elements', elements: t('activerecord.models.document', count: 2)) %>
		<% end %>
	</ul>
</div>

<div id="sidebar_cloud_box"><div id="title_box"><div class="label_sidebar_box"><%= t('sidebar.tag_cloud') %></div></div>
  <%= link_to t('sidebar.cloud_pos1'), tags_path, id: "cloud_style" ,class: "cloud_text_pos1" %><br />
  <%= link_to t('sidebar.cloud_pos2'), tags_path, id: "cloud_style" ,class: "cloud_text_pos2" %><br />
  <%= link_to t('sidebar.cloud_pos3'), tags_path, id: "cloud_style" ,class: "cloud_text_pos3" %><br />
  <%= link_to t('sidebar.cloud_pos4'), tags_path, id: "cloud_style" ,class: "cloud_text_pos4" %><br />
  <%= link_to t('sidebar.cloud_pos5'), tags_path, id: "cloud_style" ,class: "cloud_text_pos5" %><br />
</div>